#ifndef LIST_H
#define LIST_H

#include <stdio.h>
#include <stdlib.h>

struct list_node
{
	void *data;
	struct list_node *next;
};

struct list 
{
	struct list_node *head;
};

int insert_to_list( struct list *list, void *data );
int remove_from_list( struct list *list, struct list_node *f_node );
struct list * new_list();
void delete_list();


#endif /* LIST_H */
